<template>
    <el-container>
        <!--左侧菜单栏-->
        <el-aside width="200px">
            <aside-menu />
        </el-aside>
        <el-container>
            <!--顶部菜单栏-->
            <el-header height="40px">
                <top-nav/>
            </el-header>
            <el-main>
                <router-view></router-view>
            </el-main>
        </el-container>
    </el-container>

</template>

<script>
    import {setToken} from "@/lib/tokenUtil";
    import AsideMenu from "@/views/system/AsideMenu";
    import TopNav from "@/views/system/TopNav";
    export default {
        name: 'Home',
        components:{
            AsideMenu,
            TopNav
        },
        data() {
            return {
            }
        },


    }
</script>
<style lang="scss">
.el-container {
    padding: 0;
    margin: 0;
    height: 100%;
}

.el-main {
    background-color: #E9EEF3;
    /*text-align: center;*/
    padding: 5px!important;
}

.el-dropdown-link {
    cursor: pointer;
    color: white;
}
</style>